package com.sss.hloster0101;

public class Student {
//属性
	/**
	 * 学生姓名
	 */
	private String stuName;
	/**
	 * 学号
	 */
	private String stuNum;
	private String stuSex;
	private int stuScore;
	//构造方法
	public Student(String stuName) {
		this.stuName=stuName;
		System.out.println(stuName+"调用了构造方法");
	}
	//行为方法
	public void doStuding() {
		System.out.println(stuName+"  is Studing ...");
	}
	//setter/getter方法
	public String getStuName() {
		return stuName;
	}
	public void setStuName(String stuName) {
		this.stuName=stuName;
	}
	public String getStuNum() {
		return stuNum;
	}
	public void setStuNum() {
		this.stuNum=stuNum;
	}
	public String getStuSex() {
		return stuSex;
	}
	public void setStuSex(String stuSex) {
		this.stuSex=stuSex;
	}
	public int getStuScore() {
		return stuScore;
	}
	public void setStuScore(int stuScore) {
		this.stuScore=stuScore;
	}
}
